
package usyd.comp5348;

import javax.ejb.Remote;
import usyd.comp5348.DeliveryInfo;


/**
 * This is the business interface for Delivery enterprise bean.
 */
@Remote
public interface DeliveryRemote {
    int createDelivery(DeliveryInfo delivery) throws DeliveryException;

    void modifyDelivery(DeliveryInfo delivery) throws DeliveryException;

    void deleteDelivery(int id) throws DeliveryException;

    void submitDelivery(int id) throws DeliveryException;

    DeliveryInfo getDeliveryById(int id) throws DeliveryException;
    
}
